<div>
  <h2 style="margin-bottom: 20px;" >全部策略</h2>
</div>
<div *ngIf="files" >
  <nz-table #nzTable [nzDataSource]="files" [nzPageSize]="10">
    <thead nz-thead>
      <tr>
        <th nz-th>
          <span>策略标题</span>
        </th>
        <th nz-th>
          <span>策略简介</span>
        </th>
      </tr>
    </thead>
    <tbody nz-tbody>
      <tr nz-tbody-tr *ngFor="let file of files">
        <td nz-td>
          <a [routerLink]="['/file-detail', file.id]" >{{file.name}}</a>
        </td>
        <td nz-td>{{file.content}}</td>
      </tr>
    </tbody>
  </nz-table>
</div>
<div *ngIf="!files" >
  <h3>加载数据中...</h3>
</div>
